/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package demo.generic;

/**
 *
 * @author VANDH
 */
public class Employee extends TempEmployee {

    private double payment;

    public double getPayment() {
        return payment;
    }

    public void setPayment(double payment) {
        this.payment = payment;
    }

    @Override
    public String toString() {
        return this.getName() + ", " + this.getAge()
                + " tuổi" + ", " + this.payment;
    }
}
